package com.keepsport.keepsportapi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.keepsport.keepsportapi.entity.CommunityLogt;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/***
 *         O
 *      _ooOoo_
 *     o8888888o
 *     88" . "88
 *     (| -_- |)
 *      O\ = /O
 *  ____/`---'\____
 *  ...............
 *  佛祖保佑  永无BUG
 *   Data:2022/7/1
 *   Author:King
 *   Description:
 */
public interface CommunityLogtDao extends BaseMapper<CommunityLogt> {
    @Select("select * from t_community_logt where uid=#{uid} and tid=#{tid}")
    CommunityLogt find(@Param("uid") int token,@Param("tid") int tid);
}
